package com.entity;

import java.util.HashSet;
import java.util.Set;

public class Students {
  private String name;
  private int id;
  private String sex;
  private int age;
  private Set<Teacher> teachers =new HashSet<>();
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getSex() {
	return sex;
}
public void setSex(String sex) {
	this.sex = sex;
}
public int getAge() {
	return age;
}
public void setAge(int age) {
	this.age = age;
}
public Set<Teacher> getTeachers() {
	return teachers;
}
public void setTeachers(Set<Teacher> teachers) {
	this.teachers = teachers;
}


}
